package com.wn.annotation.dao;

import com.wn.annotation.entity.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

//@Component("studentDao")
@Repository
public class StudentDaoImpl implements StudentDao {
    @Override
    public void save() {
        System.out.println("StudentDaoImpl.save ------吃饭了");
    }

    @Override
    public void deleteById(Integer id) {
        System.out.println("StudentDaoImpl.deleteById");
    }
}
